These transactional attributes are specified in the 這些事務(wù)性屬性在裝配描述符( assembly descriptor )的
And deploy it using container - managed transactions and a transactional attribute of 中的ejb ,并用容器托管的事務(wù)部署它,將業(yè)務(wù)方法的事務(wù)屬性設(shè)定為
The application assembler selects components , identifies how they will interact , configures their security and transactional attributes , and packages the application into an ear file 應(yīng)用程序組裝者要選擇組件,分清它們之間的交互方式,配置它們的安全性和事務(wù)屬性,并把應(yīng)用程序打包到ear文件中。
With container - managed transactions , you can assign transactional attributes at either the ejb class or method levels ; you can specify a default set of transactional attributes for the ejb class , and you can also specify attributes for each method if different methods are to have different transactional semantics 使用容器管理的事務(wù),您可以在ejb類或方法級別上指定事務(wù)性屬性;您可以為ejb類指定缺省的事務(wù)性屬性,如果不同的方法會有不同的事務(wù)性語義,您還可以為每個方法指定屬性。